CRPEJob::SetSectionFormatFormula

Use CRPEJob::SetSectionFormatFormula to change the specified section format formula to the formula string that you supply as a parameter. This method will change only the text of a formula that already exists in the report; you cannot use it to add a formula.

Syntax
BOOL SetSectionFormatFormula (
        short sectionCode,
        short formulaName,
        CString formulaText );
Parameters

sectionCode

Specifies the code for the report section(s) for which you want to set formatting options. See Working with section codes.

formulaName

Specifies the name of the formula for which you want to supply a new string. Use one of the PEP_FFN_XXX Area/Section Format Formula Constants. See Remarks below.

formulaText

The Cstring object that contains the specified formula text when CRPEJob::SetFormula has completed successfully. See Remarks below.

Returns
Remarks


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com